<template>
  <div id="basicLayout" >
    <a-layout style="min-height: 100vh">
      <a-layout-header class="header">
        <GlobalHeader/>
      </a-layout-header>
      <a-layout-content class="content">
        <router-view/>
      </a-layout-content>
      <a-layout-footer class="footer">
        <a href="https://blog.csdn.net/qq_45062700?type=blog" target="_blank">
          智能云图库 by 以为不会掉头发的詹同学
        </a>
      </a-layout-footer>
    </a-layout>
  </div>

</template>

<script setup lang="ts">
import GlobalHeader from '@/components/GlobalHeader.vue'
</script>

<style scoped>
#basicLayout .header{
  padding-inline: 20px;
  margin-bottom: 16px;
  color: unset;
  background: white;
}


#basicLayout .content{
  background: linear-gradient(to right,#efefef,#fff);
  margin-bottom: 28px;
  padding: 20px;
}

#basicLayout .footer{
  background: #efefef;
  padding:16px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}


</style>
